<template>
  <div class="demo">
    <div class="demo-title">图标</div>
    <div class="demo-content">
      <Tabs v-model:activeKey="activeKey">
        <Tabs.TabPane key="1">
          <template #tab>
            <span><AppleOutlined />Tab 1</span>
          </template>
          Tab 1
        </Tabs.TabPane>
        <Tabs.TabPane key="2">
          <template #tab>
            <span><AndroidOutlined />Tab 2</span>
          </template>
          Tab 2
        </Tabs.TabPane>
      </Tabs>
    </div>
  </div>
</template>

<script lang="ts" setup>
  import { ref } from 'vue';
  import { AppleOutlined, AndroidOutlined } from '@ant-design/icons-vue';
  import Tabs from '@sscd/tabs';
  const activeKey = ref('1');
</script>
